package com.orphan.audit.service.impl;

import com.orphan.audit.po.PromotionAudit;
import com.orphan.audit.dao.PromotionAuditMapper;
import com.orphan.audit.service.IPromotionAuditService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.orphan.util.dto.PromotionGoodsDto;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yichen
 * @since 2021-07-14
 */
@Service
public class PromotionAuditServiceImpl extends ServiceImpl<PromotionAuditMapper, PromotionAudit> implements IPromotionAuditService {
    @Autowired
    private PromotionAuditMapper promotionAuditMapper;

    @Override
    public List<PromotionAudit> getAll() {
        List<PromotionAudit> promotionAudits = promotionAuditMapper.getAll();
        return promotionAudits;
    }


}